package com.leyou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.page.PageResult;
import com.leyou.entity.BrandEntity;
import com.leyou.vo.BrandSaveParamVo;
import com.leyou.vo.BreadPageParamVo;

import java.util.List;

/**
 * 品牌表，一个品牌下有多个商品（spu），一对多关系
 *
 * @author Daifeng
 * @email 2661184062@qq.com
 * @date 2020-12-25 16:44:48
 */
public interface BrandService extends IService<BrandEntity> {

    PageResult<BrandEntity> getBrandPages(BreadPageParamVo paramVo);

    void SaveBatchCategory(BrandSaveParamVo brand);

    void updateBatchCategory(BrandSaveParamVo brand);

    List<BrandEntity> getBrandByCategoyId(Long cid);

    void deleteById(Long id);
}

